<?php
include "../librari/koneksi.php";
//$id=$_POST['idPelamar'];
$id=$_POST['id'];
$idPelamar=$_POST['idPelamar'];
$log=$_POST['logika'];
$kec=$_POST['kecermatan'];
$kep=$_POST['kepribadian'];
$kar=$_POST['karakter'];
//update data
$sql = " INSERT INTO nilai_pelamar SET 
		 idPelamar=".$id.", 
		 logika=".$log.", 
		 kecermatan=".$kec.", 
		 kepribadian='".$kep."', 
		 karakter='".$kar."'		 
		  ";
//echo $sql." <br/>";
mysql_query($sql) or die("error nich : $sql ".mysql_error());

echo "<script language='JavaScript'>document.location='list_nilai_pelamar.php?id=$id';
alert('Sukses. Klik OK! ');
 </script>";
 //echo "$sql";
	
?>


